package com.deman.framework.rpc.config;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;


public class ServicesNodeManger {

    private Map <String, ServiceNode> nodeMap = new ConcurrentHashMap <>();
    private static ServicesNodeManger servicesNodeManger = new ServicesNodeManger();

    public static ServicesNodeManger build() {
        return servicesNodeManger;
    }

    public Map <String, ServiceNode> getNodeMap(){
        return  nodeMap;
    }
}
